package com.clouds.wms.dao;
import com.clouds.wms.bean.Purmh;
import com.clouds.wms.exception.DatabaseException;
import com.clouds.wms.util.PagesBean;

public interface PurmhDao {
	PagesBean getPurmhList(String mgaa, String mgab, int offset,int pageSize) throws DatabaseException;
	int savePurmh(Purmh purmh) throws DatabaseException;
	int updatePurmh(Purmh purmh) throws DatabaseException;
	int getMaxMhac() throws DatabaseException;
	int delPurmh(String mhaa,String mhab,String mhacs) throws DatabaseException;
	int changeStatus(String mhaa, String mhab, String status)throws DatabaseException;
	void delPurmhByAaAb(String mgaa, String mgab)throws DatabaseException;
}
